package com.xueyi.operations.domain.po;

import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.operations.domain.dto.OpMaterialDto;
import com.xueyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.common.core.constant.basic.EntityConstants.STATUS;
import static com.xueyi.common.core.constant.basic.EntityConstants.SORT;
import static com.xueyi.common.core.constant.basic.EntityConstants.REMARK;
import static com.xueyi.common.core.constant.basic.EntityConstants.NAME;

/**
 * 资料管理 持久化对象
 *
 * @author lwb
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "op_material", excludeProperty = { STATUS, SORT, REMARK, NAME })
public class OpMaterialPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 分类ID */
    @Excel(name = "分类ID")
    protected Long groupId;

    /** 材料名称 */
    @Excel(name = "材料名称")
    protected String title;

    /** 资料编号 */
    @Excel(name = "资料编号")
    protected String materialNumber;

    /** 关键字 */
    @Excel(name = "关键字")
    protected String keywords;

    /** 简介 */
    @Excel(name = "简介")
    protected String introduction;

    /** 附件 */
    @Excel(name = "附件")
    protected String attachment;

    /** 材料内容 */
    @Excel(name = "材料内容")
    protected String content;

}